package com.yunliuchain.examination.common.enums;

public enum  Status {

    INVALID("无效的"),VALID("有效的");

    private String name;

    Status(String name){
        this.name = name;
    }

    public String getName(){
        return this.name;
    }

    public static String  getName(int i){
        Status[] values = Status.values();
        return i >= 0 && i < values.length ? values[i].getName() : ""+i;
    }
}
